<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

class NewsController extends Controller
{

	public function actionIndex()
	{
		$news=news::model()->findAll();
		$this->render('newsarchive',array("news"=>$news));
	}



}

?>
